home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / PInterfaces / QD3DString.p < prev    next >
Encoding:
Text File  |  1997-08-12  |  1.9 KB  |  71 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        QD3DString.p
  3.  
  4.      Contains:    Q3CString methods
  5.  
  6.      Version:    Technology:    Quickdraw 3D 1.5.1
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1995-1997 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT QD3DString;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __QD3DSTRING__}
  28. {$SETC __QD3DSTRING__ := 1}
  29.  
  30. {$I+}
  31. {$SETC QD3DStringIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __QD3D__}
  35. {$I QD3D.p}
  36. {$ENDC}
  37.  
  38.  
  39. {$PUSH}
  40. {$ALIGN POWER}
  41. {$LibExport+}
  42.  
  43. {*****************************************************************************
  44.  **                                                                             **
  45.  **                                String Routines                                 **
  46.  **                                                                             **
  47.  ****************************************************************************}
  48. FUNCTION Q3String_GetType(stringObj: TQ3StringObject): LONGINT; C;
  49.  
  50. {*****************************************************************************
  51.  **                                                                             **
  52.  **                        C String Routines                                     **
  53.  **                                                                             **
  54.  ****************************************************************************}
  55. FUNCTION Q3CString_New(str: ConstCStringPtr): TQ3StringObject; C;
  56. FUNCTION Q3CString_GetLength(stringObj: TQ3StringObject; VAR length: LONGINT): TQ3Status; C;
  57. FUNCTION Q3CString_SetString(stringObj: TQ3StringObject; str: ConstCStringPtr): TQ3Status; C;
  58. FUNCTION Q3CString_GetString(stringObj: TQ3StringObject; VAR str: CStringPtr): TQ3Status; C;
  59. FUNCTION Q3CString_EmptyData(VAR str: CStringPtr): TQ3Status; C;
  60.  
  61. {$ALIGN RESET}
  62. {$POP}
  63.  
  64. {$SETC UsingIncludes := QD3DStringIncludes}
  65.  
  66. {$ENDC} {__QD3DSTRING__}
  67.  
  68. {$IFC NOT UsingIncludes}
  69.  END.
  70. {$ENDC}
  71.